﻿using DocumentFormat.OpenXml.Wordprocessing;
using NP.BPMReportPlatform.Entities.BPM_Engine;
using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.AnalysisInstance.Dtos
{
    public class AnalysisInstanceQueryDto : PagedAndSortedRequestDto
    {
        /// <summary>
        /// 实例编号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 实例主题
        /// </summary>
        public string InstanceTopic { get; set; }

        /// <summary>
        /// 实例开始时间
        /// </summary>
        public string InstanceStartTime { get; set; }

        /// <summary>
        /// 实例结束时间
        /// </summary>
        public string InstanceEndTime { get; set; }

        /// <summary>
        /// 流程Id
        /// </summary>
        public Guid? ProcessId { get; set; }

        /// <summary>
        /// 流程名称
        /// </summary>
        public string ProcessName { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        public InstanceQueryStatus? InstanceStatus { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public bool IsAll { get; set; }

        /// <summary>
        /// 建单人
        /// </summary>
        public string StartUserName { get; set; }

        /// <summary>
        /// btid
        /// </summary>
        public List<string> processCodes { get; set; } = new List<string>();

        public List<InstanceQueryStatus?> OrderStatus { get; set; } = new List<InstanceQueryStatus?>();
    }
}
